package com.bootdo.appsystem.service;

import com.bootdo.appsystem.domain.OrderproductitemsDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author xiaoxiao
 * @email 806191255@qq.com
 * @date 2018-05-12 14:42:14
 */
public interface OrderproductitemsService {
	
	OrderproductitemsDO get(Integer oitemid);
	
	List<OrderproductitemsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderproductitemsDO orderproductitems);
	
	int update(OrderproductitemsDO orderproductitems);
	
	int remove(Integer oitemid);
	
	int batchRemove(Integer[] oitemids);

	/**
	 * 根据订单号获取订单商品详情列表
	 * @param oid
	 * @return
	 */
	List<OrderproductitemsDO> getGoodsProductList(Integer oid);

	/**
	 * 修改商品订单的状态
	 * @param oid
	 */
	void chickGoodsProductStatus(Integer oid);

}
